DEFINITION MODULE BufferIO;
(*      File name: BufferIO.def                                 *)
(*      Creation : June 24,1985                                 *)
(*      Function : Provid buffer I/O to Text and Binary files   *)
(*      By       : Morris                                       *)
(*                                                              *)
(*
*    Copyright (c) 1985,1986,1987,1988,1989 by
*    ana-systems, Foster City, California.
*    All Rights Reserved.
*
*    This software is furnished under a license and may be used and copied
*    only  in accordance with  the  terms  of  such  license and  with the
*    inclusion of the above copyright notice.  This software or  any other
*    copies thereof may not be provided or otherwise made available to any
*    other  person.   No title to and ownership of the  software is  herby
*    transferred.
*
*    The information in this software is  subject to change without notice
*    and  should  not be construed as a commitment by ana-systems.   No
*    warranty is implied or expressed.
*
*  SCCID  = "1.1    1/26/86"; 
*)
(*      History of modifcation                                  *)
(*      Date            Who             Why                     *)
(*                                                              *)
 
FROM Files IMPORT File;
FROM SYSTEM IMPORT ADDRESS;
EXPORT QUALIFIED SetBuff,FlushBuffer,BufferRead,
                 UnDoBuffer,BufferWrite;



PROCEDURE SetBuff(file:File;NewSize:CARDINAL;Buffer:ADDRESS);

PROCEDURE FlushBuffer(file: File);

PROCEDURE UnDoBuffer(file : File;  n: CARDINAL):CHAR;

PROCEDURE BufferRead(file : File; buffer : ADDRESS ;n:CARDINAL ;
                         VAR m : CARDINAL);

PROCEDURE BufferWrite(file : File; buffer : ADDRESS ;n:CARDINAL );

END BufferIO.
